﻿<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="UpdateTintuc.aspx.cs" Inherits="GNCMedia.KQXS.Admin.UpdateTintuc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head_update_tintuc" runat="server">
    <meta charset="utf-8">
    <title>GNCMedia KQXS</title>
    <meta name="description" content="GNCMedia EContact">
    <meta name="author" content="Henry Nguyen">
    <!-- Google Font and style definitions -->
    <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:regular,bold">
    <link rel="stylesheet" href="css/style.css">
    <!-- include the skins (change to dark if you like) -->
    <link rel="stylesheet" href="css/light/theme.css" id="themestyle_update_tintuc">
    <!--[if lt IE 9]>
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<link rel="stylesheet" href="css/ie.css">
	<![endif]-->
    <!-- Apple iOS and Android stuff -->
    <meta name="apple-mobile-web-app-capable" content="no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">
    <!-- Apple iOS and Android stuff - don't remove! -->
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1">
    <!-- Use Google CDN for jQuery and jQuery UI -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.12/jquery-ui.min.js"></script>
    <!-- Loading JS Files this way is not recommended! Merge them but keep their order -->
    <!-- some basic functions -->
    <script src="..Admin/js/functions.js"></script>
    <!-- all Third Party Plugins and Whitelabel Plugins -->
    <script src="../Admin/js/plugins.js"></script>
    <script src="../Admin/js/editor.js"></script>
    <script src="../Admin/js/calendar.js"></script>
    <script src="../Admin/js/flot.js"></script>
    <script src="../Admin/js/elfinder.js"></script>
    <script src="../Admin/js/datatables.js"></script>
    <script src="../Admin/js/wl_Alert.js"></script>
    <script src="../Admin/js/wl_Autocomplete.js"></script>
    <script src="../Admin/js/wl_Breadcrumb.js"></script>
    <script src="../Admin/js/wl_Calendar.js"></script>
    <script src="../Admin/js/wl_Chart.js"></script>
    <script src="../Admin/js/wl_Color.js"></script>
    <script src="../Admin/js/wl_Date.js"></script>
    <script src="../Admin/js/wl_Editor.js"></script>
    <script src="../Admin/js/wl_File.js"></script>
    <script src="../Admin/js/wl_Dialog.js"></script>
    <script src="../Admin/js/wl_Fileexplorer.js"></script>
    <script src="../Admin/js/wl_Form.js"></script>
    <script src="../Admin/js/wl_Gallery.js"></script>
    <script src="../Admin/js/wl_Multiselect.js"></script>
    <script src="../Admin/js/wl_Number.js"></script>
    <script src="../Admin/js/wl_Password.js"></script>
    <script src="../Admin/js/wl_Slider.js"></script>
    <script src="../Admin/js/wl_Store.js"></script>
    <script src="../Admin/js/wl_Time.js"></script>
    <script src="../Admin/js/wl_Valid.js"></script>
    <script src="../Admin/js/wl_Widget.js"></script>
    <script type="text/javascript" src="ckeditor/ckeditor.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            CKEDITOR.replace("txt_content");
        }
    </script>
    <!-- configuration to overwrite settings -->
    <script src="..Admin/js/config.js"></script>
    <!-- the script which handles all the access to plugins etc... -->
    <script src="..Admin/js/script.js"></script>
    <script type="text/javascript">
        function Confirm() {
            var confirm_value = document.createElement("INPUT");
            confirm_value.type = "hidden";
            confirm_value.name = "confirm_value";
            if (confirm("Bạn có chắc chắn muốn lưu bản ghi này không ?")) {
                confirm_value.value = "Yes";
            } else {
                confirm_value.value = "No";
            }
            document.forms[0].appendChild(confirm_value);
        }
    </script>
</head>
<body>
    <form id="frm_tintuc" runat="server">
    <div id="pageoptions">
        <ul>
            <li>
                <asp:LinkButton ID="lbtnLogout_update_tintuc" runat="server" OnClick="lbtnLogout_Click1">Đăng xuất</asp:LinkButton></li>
            <li><a href="UpdatePassWord.aspx?UserName=<%=Session["UserName"]%>">Đổi mật khẩu đăng
                nhập</a></li>
            <li>Chào: <font color="red">
                <%=Session["UserName"]%>
            </font><a href="#"></a></li>
        </ul>
    </div>
    <header>
		    <div id="logo">
			    <a href="Default.aspx">GNCMedia</a>
		    </div>
		    <div id="header">			
		
		    </div>
	    </header>
    <nav>
	        <ul id="nav">
		        <li class="i_house"><a href="Default.aspx"><span>Trang chủ</span></a></li>		
		        <li class="i_book_large"><a href="AllProvince.aspx"><span>Quản lý Tỉnh </span></a></li>
		        <li class="i_speech_bubble_2"><a href="ManagerSyntax.aspx"><span>Quản lý Cú Pháp Tin nhắn</span></a></li>		
		        <li class="i_buildings"><a href="ModifiedHomePage.aspx"><span>Quản lý Giao Diện</span></a></li>
		        <li class="i_graph"><a href="AddNewTimeOfAward.aspx"><span>Quản Lý Ngày Mở </span></a></li>	
                <li class="i_graph"><a href="Comment.aspx"><span>Quản Lý góp ý </span></a></li>
              <li class="i_speech_bubble_2"><a href="HotNews.aspx"><span>Quản Lý Tin tưc </span></a></li>
                				
	        </ul>								
            <ul>
                <img width="100%" height="60px" alt="COM" src="images/browsers.jpg" />
                <p style="font-size:x-small;color:Black;background-color:rgb(238, 238, 238);margin:auto;clip:rect(auto,5px,auto,5px);text-align:center">
                    Website hoạt động tốt trên: IE9, Chrome, Opera, Firefox 5+, Safari 5+
                </p>
            </ul>
        </nav>
    <section id="content">			
		    	 <div class="widgets ui-sortable">
        <div class="widget sortable table" style="opacity: 1;">
            <h3 class="handle">
                Thêm Tin tức <a class="collapse" title="collapse widget"></a>
            </h3>
            <br />
            <div>
                <table border="0" cellspacing="2" cellpadding="0">
                    <thead>
                    </thead>
                     <tr>
                        <td>
                            Mục tin
                        </td>
                        <td>
                            <asp:DropDownList ID="drl_muctin" runat="server" AutoPostBack="true">
                            <asp:ListItem>Tin thể thao</asp:ListItem>
                            <asp:ListItem>Tin xã hội</asp:ListItem>
                            </asp:DropDownList>
                    </tr>
                    <tr>
                        <td>
                           Ảnh tiêu đề
                        </td>
                        <td>
                            <asp:FileUpload runat="server" ID="file_upload" /></td>
                    </tr>
                    <tr>
                        <td>
                            Nội Dung
                        </td>
                        <td>
                            <asp:TextBox ID="txt_content"  TextMode="MultiLine" runat="server"></asp:TextBox>
                        </td>
                        <tfoot>
                            <tr>
                                <td>
                                </td>
                                <td>
                                    <asp:Button ID="btn_addNewDataRegion" runat="server" Text="Submit" OnClick="btn_addNewData_Click1" />
                                    <asp:Label ID="lBLtHONGBAO" runat="server"></asp:Label>
                                    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Admin/AllProvince.aspx">Quay Về Trang Danh Sách Tỉnh</asp:HyperLink>
                                </td>
                            </tr>
                        </tfoot>
                </table>
            </div>
        </div>
    </div>		
		</section>
    <!-- end div #content -->
    <footer>Copyright © GNCMedia 2014</footer>
    </form>
</body>
</html>

